d/test.sh, d/tests: Unset SOURCE_DATE_EPOCH
authorSimon McVittie <smcv@debian.org>
Sun, 25 Jul 2021 18:18:46 +0000 (19:18 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 25 Jul 2021 18:18:46 +0000 (19:18 +0100)
Otherwise, some tests will think we're downgrading, and fail.

debian/test.sh
debian/tests/gnome-desktop-testing

index 84242ffd63c63f062db8b0821152aa3588816820..1c3a5982336f4bab69c60b771a4c20be2f628518 100755 (executable)
@@ -13,6 +13,9 @@ unset http_proxy
 unset https_proxy
 unset no_proxy
 
+# Some tests assume this isn't set
+unset SOURCE_DATE_EPOCH
+
 failed=0
 # Use line-buffering so stdout and stderr interleave somewhat nicely
 stdbuf -oL make check || failed=1
index e4346cac9af5572c316304657673b0c131a246fe..5c118be186427cd739d554cde80999ac1aaf9b6a 100755 (executable)
@@ -11,6 +11,9 @@ unset http_proxy
 unset https_proxy
 unset no_proxy
 
+# Some tests assume this isn't set
+unset SOURCE_DATE_EPOCH
+
 tests="$(gnome-desktop-testing-runner -l libostree | while read -r t; do
        t="${t%% *}"